package com.anjho.dao;

import java.util.List;

import com.anjho.pojo.Client;
import com.anjho.pojo.Reserve;

public class DAOReserve extends DAOGeneric {

	private static final long serialVersionUID = 2585460796120735865L;
	
	public DAOReserve(){
		super();
	}
	
	@SuppressWarnings("unchecked")
	public List<Reserve> getReserveListByClient(Client client) throws Exception {
		return (List<Reserve>) super.getListByParameter(new String[]{"client"}, new Object[]{client}, "Reserve.getReserveListByClient");
	}

}
